/*
 * Copyright (c) 2011-2014, fortiss GmbH.
 * Licensed under the Apache License, Version 2.0.
 *
 * Use, modification and distribution are subject to the terms specified
 * in the accompanying license file LICENSE.txt located at the root directory
 * of this software distribution. A copy is available at
 * http://chromosome.fortiss.org/.
 *
 * This file is part of CHROMOSOME.
 *
 * $Id$
 */

/**
 * \file
 *         Source file for function doSomething in component exampleGUI.
 *
 * \author
 *         This file has been generated by the CHROMOSOME Modeling Tool (XMT)
 *         (fortiss GmbH).
 */

/******************************************************************************/
/***   Includes                                                             ***/
/******************************************************************************/
#include "autoPnP/adv/exampleGUI/include/doSomethingFunction.h"

#include "autoPnP/adv/exampleGUI/include/doSomethingFunctionWrapper.h"
#include "autoPnP/adv/exampleGUI/include/exampleGUIComponent.h"
#include "autoPnP/adv/exampleGUI/include/exampleGUIComponentWrapper.h"
#include "autoPnP/adv/exampleGUI/include/exampleGUIManifest.h"

#include "xme/core/logUtils.h"

// PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_C_INCLUDES) ENABLED START

// PROTECTED REGION END

/******************************************************************************/
/***   Definitions                                                          ***/
/******************************************************************************/

// PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_C_DEFINITIONS) ENABLED START

// PROTECTED REGION END

/******************************************************************************/
/***   Variables                                                            ***/
/******************************************************************************/

// PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_C_VARIABLES) ENABLED START

// PROTECTED REGION END

/******************************************************************************/
/***   Prototypes                                                           ***/
/******************************************************************************/

// PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_C_PROTOTYPES) ENABLED START

// PROTECTED REGION END

/******************************************************************************/
/***   Implementation                                                       ***/
/******************************************************************************/
xme_status_t
autoPnP_adv_exampleGUI_doSomethingFunction_init
(
    autoPnP_adv_exampleGUI_exampleGUIComponent_config_t* const componentConfig
)
{
    // PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_INITIALIZE_C) ENABLED START
    
    // TODO: Auto-generated stub
    
    XME_UNUSED_PARAMETER(componentConfig);
    
    return XME_STATUS_SUCCESS;
    
    // PROTECTED REGION END
}

void
autoPnP_adv_exampleGUI_doSomethingFunction_step
(
    autoPnP_adv_exampleGUI_exampleGUIComponent_config_t* const componentConfig
)
{
    
    {
        // PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_STEP_C) ENABLED START
        
        // TODO: Auto-generated stub
        
        XME_UNUSED_PARAMETER(componentConfig);
        
        // PROTECTED REGION END
    }
    
    {
        // PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_STEP_2_C) ENABLED START
        
        // TODO: Auto-generated stub
        //       Check return values of writePort calls here
        
        // PROTECTED REGION END
    }
}

void
autoPnP_adv_exampleGUI_doSomethingFunction_fini
(
    autoPnP_adv_exampleGUI_exampleGUIComponent_config_t* const componentConfig
)
{
    // PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_TERMINATE_C) ENABLED START
    
    // TODO: Auto-generated stub
    
    XME_UNUSED_PARAMETER(componentConfig);
    
    // PROTECTED REGION END
}

// PROTECTED REGION ID(AUTOPNP_ADV_EXAMPLEGUI_DOSOMETHINGFUNCTION_IMPLEMENTATION_C) ENABLED START

// PROTECTED REGION END
